<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>HttpMessageConverter jsp</title>
<script type="text/javascript" src="static-r/js/jquery-3.2.1.min.js"></script>
</head>
<body>
	<div id="resp"></div>
	<input type="button" onclick="req();" value="请求">
</body>
<script type="text/javascript">
	function req() {
		$.ajax({
			url : "convert",
			data : "1-anzi小哥哥",
			type : "POST",
			contentType : "application/x-wisely",
			success : function(data) {
				$("#resp").html(data);
			}
		});
	}
</script>
</html>